package org.jeecg.modules.htxincailiao.im.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: im_conversation
 * @Author: jeecg-boot
 * @Date:   2023-03-14 11:13:41
 * @Version: V1.0
 */
@Data
@TableName("im_conversation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="im_conversation对象", description="im_conversation")
public class IMConversation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**会话拥有者ID*/
	@Excel(name = "会话拥有者ID", width = 15)
    @ApiModelProperty(value = "会话拥有者ID")
    private java.lang.String ownerId;
	/**会话拥有者昵称*/
	@Excel(name = "会话拥有者昵称", width = 15)
    @ApiModelProperty(value = "会话拥有者昵称")
    private java.lang.String ownerNickname;
	/**会话拥有者头像*/
	@Excel(name = "会话拥有者头像", width = 15)
    @ApiModelProperty(value = "会话拥有者头像")
    private java.lang.String ownerAvatar;
	/**会话对话者ID*/
	@Excel(name = "会话对话者ID", width = 15)
    @ApiModelProperty(value = "会话对话者ID")
    private java.lang.String targetId;
	/**会话对话者昵称*/
	@Excel(name = "会话对话者昵称", width = 15)
    @ApiModelProperty(value = "会话对话者昵称")
    private java.lang.String targetNickname;
	/**会话对话者头像*/
	@Excel(name = "会话对话者头像", width = 15)
    @ApiModelProperty(value = "会话对话者头像")
    private java.lang.String targetAvatar;

    @ApiModelProperty(value = "加密KEY")
    private java.lang.String cryptoKey;

    @ApiModelProperty(value = "加密向量")
    private java.lang.String cryptoIv;

	/**审批人*/
	@Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private java.lang.String auditUsername;
	/**审核状态：0-未审核 1-审核中 2-已通过 3-已驳回*/
	@Excel(name = "审核状态：0-未审核 1-审核中 2-已通过 3-已驳回", width = 15)
    @ApiModelProperty(value = "审核状态：0-未审核 1-审核中 2-已通过 3-已驳回")
    private java.lang.Integer auditStatus;
	/**审批意见*/
	@Excel(name = "审批意见", width = 15)
    @ApiModelProperty(value = "审批意见")
    private java.lang.String auditComments;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
}
